package com.haifeng.sbtx.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@EnableAsync
@EnableRabbit
@MapperScan("com.haifeng.sbtx.mapper.mapper")
@SpringBootApplication(scanBasePackages = {"com.haifeng.sbtx"})
public class SbtxApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbtxApiApplication.class, args);
    }

}
